package exp;

public class ecxcptn {
	static void exp(int i,int j) throws age{
	if(j<=0){
		
		throw new age("divide byzero error");
		
	}
	}
	public static void main(String[] args){
		try{
			
			exp(9,0); 
		}
		
		catch(Exception e)
		{
			System.out.println("divide by zero error"+e);
		}
		
	
		
	}
	

}
